--- CS-010-09
---

IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[T028]') AND name = N'Relation_1')
DROP INDEX [Relation_1] ON [dbo].[T028] WITH ( ONLINE = OFF )
GO

CREATE UNIQUE INDEX [Relation_1] ON [dbo].[T028]
(
	[T011Entity]
)
GO

DECLARE @T027IdScript as varchar(80)
DECLARE @T027Descripcion as varchar(360)
SET @T027IdScript='CS-010-09'
SET @T027Descripcion='Se la relacion de la tabla T028 agregandose un indice de campo unico'
INSERT INTO T027(T027IdScript,T027Descripcion,T027FechaRealizado) VALUES (@T027IdScript,@T027Descripcion,getdate())